import { lazy } from 'react'
import { Navigate } from 'react-router-dom'
const Index = lazy(() => import('@/view/Index'))


const routerConfig = [
  {
    path: '/ys/home/:id',
    element: <Index />
  },
  {
    path: '/',
    element: <Navigate to="/ys/home/0" />
  },
]

export default routerConfig 
